<?php
/**
 * 类名称
 * User: 13651
 * Time: 2025/9/28 11:56
 */

namespace App\Repository;

use App\Models\StorePayWay;

class StrorePayWaysRepo extends CommonRepo
{

    /**
     * 根据支付渠道及商户编号获取信息
     * @param string $store_id
     * @param string $company
     * @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Eloquent\Model|object|null
     */
    public function getStoreIdInfo(string $store_id,string $company){
        return StorePayWay::query()->where('store_id',$store_id)->where('company',$company)->get();
    }
}